package com.abel.pay.service;

import org.springframework.stereotype.Component;

/**
 * 支付宝支付
 *
 * @author heyangyang
 * @since 2024-04-23
 */
@Component
public class ZfbImpl implements IPay {
    @Override
    public boolean support(String payType) {
        return "zfb".equals(payType);
    }

    @Override
    public void handlePay() {
        System.out.println("支付宝支付");
    }
}
